package com.shop.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.entity.BulkGoodsDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 批发明细表
 * 对应当时批发时的商品各个属性
 * gaodo(BulkGoodsDetail)表数据库访问层
 *
 * @author makejava
 * @since 2020-11-26 20:07:24
 */
@Mapper
public interface BulkGoodsDetailMapper extends BaseMapper<BulkGoodsDetail> {
    /**
     * 根据主订单id查询订单详情
     * @param id
     * @return
     */
    List<BulkGoodsDetail> getDetailList(Integer id);

    List<BulkGoodsDetail> getAll(Integer bulkId);


}
